package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门店对象 shop
 * 
 * @author ruoyi
 * @date 2025-07-30
 */
public class Shop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 归属公司ID */
    @Excel(name = "归属公司ID")
    private Long companyId;

    @Excel(name = "归属公司")
    private String companyName;

    /** 门店名称 */
    @Excel(name = "门店名称")
    private String shopName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ctime;

    /** 状态1：正常 */
    @Excel(name = "状态1：正常")
    private String status;

    /** 是否被删除1：已删除 */
    private String isdel;

    /** 地址 */
    @Excel(name = "地址")
    private String addr;

    /** 排序 */
    private BigDecimal sort;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactUser;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }

    public void setCtime(Date ctime) 
    {
        this.ctime = ctime;
    }

    public Date getCtime() 
    {
        return ctime;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setIsdel(String isdel) 
    {
        this.isdel = isdel;
    }

    public String getIsdel() 
    {
        return isdel;
    }

    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }

    public void setSort(BigDecimal sort) 
    {
        this.sort = sort;
    }

    public BigDecimal getSort() 
    {
        return sort;
    }

    public void setContactUser(String contactUser) 
    {
        this.contactUser = contactUser;
    }

    public String getContactUser() 
    {
        return contactUser;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyId", getCompanyId())
            .append("shopName", getShopName())
            .append("ctime", getCtime())
            .append("status", getStatus())
            .append("isdel", getIsdel())
            .append("addr", getAddr())
            .append("remark", getRemark())
            .append("sort", getSort())
            .append("contactUser", getContactUser())
            .append("contactPhone", getContactPhone())
                .append("companyName", getCompanyName())
            .toString();
    }
}
